package com.ruoyi.webshop.mapper;

import java.util.List;
import com.ruoyi.webshop.domain.GoodsSafeguardType;

/**
 * 增值保障Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public interface GoodsSafeguardTypeMapper 
{
    /**
     * 查询增值保障
     * 
     * @param safeguardTypeId 增值保障主键
     * @return 增值保障
     */
    public GoodsSafeguardType selectGoodsSafeguardTypeBySafeguardTypeId(Long safeguardTypeId);

    /**
     * 查询增值保障列表
     * 
     * @param goodsSafeguardType 增值保障
     * @return 增值保障集合
     */
    public List<GoodsSafeguardType> selectGoodsSafeguardTypeList(GoodsSafeguardType goodsSafeguardType);

    /**
     * 新增增值保障
     * 
     * @param goodsSafeguardType 增值保障
     * @return 结果
     */
    public int insertGoodsSafeguardType(GoodsSafeguardType goodsSafeguardType);

    /**
     * 修改增值保障
     * 
     * @param goodsSafeguardType 增值保障
     * @return 结果
     */
    public int updateGoodsSafeguardType(GoodsSafeguardType goodsSafeguardType);

    /**
     * 删除增值保障
     * 
     * @param safeguardTypeId 增值保障主键
     * @return 结果
     */
    public int deleteGoodsSafeguardTypeBySafeguardTypeId(Long safeguardTypeId);

    /**
     * 批量删除增值保障
     * 
     * @param safeguardTypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGoodsSafeguardTypeBySafeguardTypeIds(Long[] safeguardTypeIds);
}
